Skip to content

arch/sim: Update defconfig for NXWM and disable CONFIG_NSH_ARCHINIT#2185

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
sebastianene07:sene/arch_sim_fix_nxwm_test_failure
Oct 31, 2020
Merged

arch/sim: Update defconfig for NXWM and disable CONFIG_NSH_ARCHINIT#2185
xiaoxiang781216 merged 1 commit into
apache:masterfrom
sebastianene07:sene/arch_sim_fix_nxwm_test_failure

Conversation

@sebastianene07

Copy link
Copy Markdown

fixes #2093

Summary of changes

This patch addresses the first issue described in the linked ticket:

Disable CONFIG_NSH_ARCHINIT to prevent the boardctl() logic to call
multiple times the oneshot_register() function. The boardctl logic is
already called from nxwm_main.

Testing

Verified that the error message:ERROR: Failed to register oneshot at /dev/oneshot: -17
is no longer shown during simulation start.

Signed-off-by: Sebastian Ene sene@apache.org

 ## Summary of changes

Disable CONFIG_NSH_ARCHINIT to prevent the boardctl() logic to call
multiple times the oneshot_register() function. The boardctl logic is
already called from nxwm_main.

Signed-off-by: Sebastian Ene <sene@apache.org>
@xiaoxiang781216 xiaoxiang781216 merged commit 2073730 into apache:master Oct 31, 2020
@Ouss4

Ouss4 commented Nov 1, 2020

Copy link
Copy Markdown
Member

@xiaoxiang781216 This one needs to be backported?

@xiaoxiang781216

Copy link
Copy Markdown
Contributor

Yes, we need backport this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sim:nxwm Test failure

4 participants